package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教师作品图片对象 danmo_training_teacher_picture
 * 
 * @author kunzong
 * @date 2024-11-26
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingTeacherPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师作品图片唯一标识 */
    private Long id;

    /** 教师id */
    @Excel(name = "教师id")
    private Long danmoTrainingTeacherId;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String pictureName;

    /** 详情 */
    @Excel(name = "详情")
    private String description;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("danmoTrainingTeacherId", getDanmoTrainingTeacherId())
            .append("pictureName", getPictureName())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
